/**
 * 
 */
package edu.arizona.bio5.onto.decomposition;

import java.io.IOException;
import java.io.Writer;

import edu.arizona.bio5.onto.decomposition.persistent.PersistentAtomicDecomposition;

/**
 * @author pklinov
 *
 */
public class ADStatsTaskRunner implements ADProcessingTaskRunner {


	@Override
	public void process(PersistentAtomicDecomposition ad, Writer csvWriter) throws IOException {
		
		csvWriter.write(((AtomicDecomposition)ad).stats().toCommaSeparatedString());
	}

}
